package cn.bs.seckill.service;

import cn.bs.seckill.pojo.User;
import cn.bs.seckill.vo.LoginVo;
import cn.bs.seckill.vo.RespBean;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 布索
 * @since 2022-02-17
 */
public interface UserService extends IService<User> {

    //登录接口
    RespBean doLogin(LoginVo loginVo, HttpServletRequest request, HttpServletResponse response);

    //根据cookie获取用户
    User getUserByCookie(String userUUID);
}
